From 46f1e56137e374e3485c6db20e9c566c7fb0f3be Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 22 Aug 2005 10:18:14 +0000 Subject: [PATCH] No 'boot error' message if booting secondary vcpu succeeds. --- linux-2.6-xen-sparse/arch/xen/i386/kernel/smpboot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-2.6-xen-sparse/arch/xen/i386/kernel/smpboot.c b/linux-2.6-xen-sparse/arch/xen/i386/kernel/smpboot.c index b879cf5a8d..45787ddf5b 100644 --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/smpboot.c +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/smpboot.c @@ -923,7 +923,8 @@ static int __init do_boot_cpu(int apicid) ctxt.ctrlreg[3] = virt_to_mfn(swapper_pg_dir) << PAGE_SHIFT; boot_error = HYPERVISOR_boot_vcpu(cpu, &ctxt); - printk("boot error: %ld\n", boot_error); + if (boot_error) + printk("boot error: %ld\n", boot_error); if (!boot_error) { /* -- 2.30.2